/*
 * Direction.h
 *
 *  Created on: 30/05/2010
 *      Author: Nenem
 */

#ifndef DIRECTION_H_
#define DIRECTION_H_

#include "Controller.h"
#include "Tools.h"

enum EnumDirection{SOUTH, NORTH, EAST, WEST};

class Direction {
	EnumDirection dir;
public:
	Direction(){
		dir = SOUTH;
	}
	Direction(EnumDirection dir){
		this->dir = dir;
	}
	Direction(string dir);
	virtual ~Direction();

	void update(int delta, Controller *control);
    EnumDirection getDir() const
    {
        return dir;
    }

    void setDir(EnumDirection dir)
    {
        this->dir = dir;
    }

};

#endif /* DIRECTION_H_ */
